import request from '@/utils/request'

// 放射证-列表查询
export function certificate(data) {
  return request({
    url: '/radiation/certificate',
    method: 'get',
    params: data
  })
}
// 更新 
export function updateCertificate(data) {
  return request({
    url: '/radiation/certificate',
    method: 'put',
    data: data
  })
}

//同步
export function synchDb(data) {
  return request({
    url: '/radiation/certificate',
    method: 'post',
    data: data
  })
}